from app.modules.apps.container_httpd import HttpdPhpApp

httpd = HttpdPhpApp(app_id='gzidc:TrackingWebsite', app_name='TrackingWebsite',
                    zone_home_path='/usr/local/app/uc.gzidc.area',
                    zone_alias='gzidc',
                    port='4680',
                    nas_app_package_path='/usr/local/Beetle/projects/TrackingWebsite/TrackingWebsite_1.0.0/20161115-120204/target')

httpd.uninstall_app()
httpd.install_app()
httpd.restart()
#
